package com.adtech.adms.device.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * GuiRule entity. @author MyEclipse Persistence Tools
 */

public class GuiRule implements java.io.Serializable {

	// Fields

	private Integer id;
	private String path;
	private String policy;
	private Integer weight;
	private Set guiRuleitems = new HashSet(0);

	// Constructors

	/** default constructor */
	public GuiRule() {
	}

	/** minimal constructor */
	public GuiRule(String path, String policy, Integer weight) {
		this.path = path;
		this.policy = policy;
		this.weight = weight;
	}

	/** full constructor */
	public GuiRule(String path, String policy, Integer weight, Set guiRuleitems) {
		this.path = path;
		this.policy = policy;
		this.weight = weight;
		this.guiRuleitems = guiRuleitems;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getPath() {
		return this.path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getPolicy() {
		return this.policy;
	}

	public void setPolicy(String policy) {
		this.policy = policy;
	}

	public Integer getWeight() {
		return this.weight;
	}

	public void setWeight(Integer weight) {
		this.weight = weight;
	}

	public Set getGuiRuleitems() {
		return this.guiRuleitems;
	}

	public void setGuiRuleitems(Set guiRuleitems) {
		this.guiRuleitems = guiRuleitems;
	}

}